package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Role;

import java.util.List;

public interface AdministerRoleDao {
    void add(Role role);

    Page<Role> findByCondition(String queryString);

    Role findById(Integer id);

    void edit(Role role);

    List<Role> findAll();

    void delete(Integer id);
}
